import request from '#/utils/requestAbort.js';
import type { IQueryFQAParamsType } from './type';

// 查询三级tab菜单列表
export async function postQueryTabMenuList(params?: { haveInfo: boolean }) {
  return request('/configuration/helpCenter/queryTabMenuList', {
    method: 'POST',
    data: params,
  });
}

//查询常见问题
export async function postQueryFQA(params?: IQueryFQAParamsType) {
  return request('/configuration/helpCenter/queryFQA', {
    method: 'POST',
    data: params,
  });
}
